package sqlsession;

import config.Configuration;

import java.util.List;

/**
 * @CreatedBy richInfo AI
 * @ClassName SqlSession
 * @Date 2021/8/16 2:23 下午
 * @Author xin.yang
 * @Description TODO
 */
public interface SqlSession
{

    <U> List<U> selectList(String id, Configuration configuration, Object... args) throws Exception;

    int save(String id,Configuration configuration,Object... args) throws Exception;

    <T> T getMapper(Class<?> cls);
}
